package services;

import com.octo.captcha.service.image.ImageCaptchaService;
import com.octo.captcha.service.image.DefaultManageableImageCaptchaService;
import com.octo.captcha.service.captchastore.FastHashMapCaptchaStore;

public class CaptchaServiceSingleton {
    private static ImageCaptchaService instance;
    static {
    	instance = new DefaultManageableImageCaptchaService(
    		new FastHashMapCaptchaStore(),
    		new MyImageCaptchaEngine(),
    		180,
    		100000,
    		75000);
    }
    public static ImageCaptchaService getInstance(){
        return instance;
    }
}